package com.bytz.modules.cms.auditBatch.service.impl;

import com.bytz.modules.cms.auditBatch.service.AbstractAuditBatchService;
import com.bytz.modules.cms.auditBatch.service.IChangeService;
import com.bytz.modules.cms.auditBatch.service.change.BatchProductLineLevelChangeServiceImpl;
import com.bytz.modules.cms.productLine.entity.ProductLineLevelChange;
import com.bytz.modules.cms.user.constants.AuditBatchConstants;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AuditBatchLineServiceImpl extends AbstractAuditBatchService<ProductLineLevelChange> {

    @Autowired
    private BatchProductLineLevelChangeServiceImpl changeService;

    @Override
    protected IChangeService<ProductLineLevelChange> getChangeService() {
        return changeService;
    }

    @Override
    protected String getType() {
        return AuditBatchConstants.Type.LINE_LEVEL;
    }
}
